package org.swim.remote.exceptions;




public class SwimException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private final Severity severity;

	public enum Severity {
		FATAL_ERROR, ERROR, WARNING, INFO
	}

	public SwimException(String message, Severity severity) {
		super(message);
		this.severity = severity;
	}
	
	public Severity getSeverity() {
		return severity;
	}

}